iT邦幫忙

2019 iT 邦幫忙鐵人賽

DAY 9
0
Kubernetes

kubernetes學習日誌系列 第 9

fission k8s serverless 框架初探.1

  • 分享至 

  • xImage
  •  

https://docs.fission.io/0.11.0/installation/

參考這個安裝fission

到一步時

minikube start --extra-config=apiserver.Authorization.Mode=RBAC

因為都沒在動,我以為crash了,所以終止,結果大事不妙
從此以後一直報連不上minikube的 error,
只好uninstall後,重新安裝。
反覆幾次,都會lock住,

後來才發現。

Since minikube 0.26.0 the default bootstrapper is kubeadm which enables RBAC by default

可以紅字嗎,原來跟不用照這個做。

然後

helm install --name fission --namespace fission --set serviceType=NodePort,routerServiceType=NodePort https://github.com/fission/fission/releases/download/0.11.0/fission-all-0.11.0.tgz

到了這一步,又像是停住了。
又手賤Ctrl c了。

到一切都正常,
只好再install

最後才發現原來是 install 跟開了超多資源的:

NAME                                            READY     STATUS             RESTARTS   AGE
pod/buildermgr-75849c4967-4g72l                 1/1       Running            1          10h
pod/controller-57c9d56964-9b5xm                 1/1       Running            5          10h
pod/executor-6f84cdf5bf-tlmxj                   1/1       Running            5          10h
pod/fission-all-0.11.0-fissi-0.11.0-383-4jtd9   0/1       Completed          0          10h
pod/fission-all-0.11.0-fissi-0.11.0-488-n55h2   0/1       Completed          0          10h
pod/fission-all-0.11.0-fissi-0.11.0-wtfrv       0/1       Completed          0          10h
pod/kubewatcher-97d7d899d-4rw8m                 1/1       Running            2          10h
pod/logger-bngks                                1/1       Running            0          10h
pod/mqtrigger-nats-streaming-5c69864b6c-5lqhm   0/1       CrashLoopBackOff   15         10h
pod/nats-streaming-7686cd7ff4-tp6bg             0/1       Pending            0          10h
pod/nginx-6d9cc98df6-hvkbk                      1/1       Running            0          11h
pod/redis-0                                     1/1       Running            0          10h
pod/router-5d7fcb6bd6-9mz9b                     1/1       Running            5          10h
pod/storagesvc-7c9bfb85c5-s4dvd                 1/1       Running            4          10h
pod/timer-84c4946d-szz2g                        1/1       Running            2          10h

NAME                     TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE
service/controller       ClusterIP      10.107.211.110   <none>        80/TCP         10h
service/executor         ClusterIP      10.100.123.77    <none>        80/TCP         10h
service/influxdb         ClusterIP      10.96.160.113    <none>        8086/TCP       10h
service/kubernetes       ClusterIP      10.96.0.1        <none>        443/TCP        11h
service/nats-streaming   ClusterIP      10.104.225.50    <none>        4222/TCP       10h
service/redis            ClusterIP      10.109.220.31    <none>        6379/TCP       10h
service/router           LoadBalancer   10.96.86.29      <pending>     80:30517/TCP   10h
service/storagesvc       ClusterIP      10.97.205.93     <none>        80/TCP         10h

NAME                                                         DESIRED   CURRENT   READY     UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/fission-all-0.11.0-prometheus-node-exporter   0         0         0         0            0           <none>          10h
daemonset.apps/logger                                        1         1         1         1            1           <none>          10h

NAME                                                               DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/buildermgr                                         1         1         1            1           10h
deployment.apps/controller                                         1         1         1            1           10h
deployment.apps/executor                                           1         1         1            1           10h
deployment.apps/fission-all-0.11.0-prometheus-alertmanager         1         0         0            0           10h
deployment.apps/fission-all-0.11.0-prometheus-kube-state-metrics   1         0         0            0           10h
deployment.apps/fission-all-0.11.0-prometheus-pushgateway          1         0         0            0           10h
deployment.apps/fission-all-0.11.0-prometheus-server               1         0         0            0           10h
deployment.apps/kubewatcher                                        1         1         1            1           10h
deployment.apps/mqtrigger-nats-streaming                           1         1         1            0           10h
deployment.apps/nats-streaming                                     1         1         1            0           10h
deployment.apps/nginx                                              1         1         1            1           11h
deployment.apps/router                                             1         1         1            1           10h
deployment.apps/storagesvc                                         1         1         1            1           10h
deployment.apps/timer                                              1         1         1            1           10h

NAME                                                                         DESIRED   CURRENT   READY     AGE
replicaset.apps/buildermgr-75849c4967                                        1         1         1         10h
replicaset.apps/controller-57c9d56964                                        1         1         1         10h
replicaset.apps/executor-6f84cdf5bf                                          1         1         1         10h
replicaset.apps/fission-all-0.11.0-prometheus-alertmanager-55db86f7b6        1         0         0         10h
replicaset.apps/fission-all-0.11.0-prometheus-kube-state-metrics-7bbd7944f   1         0         0         10h
replicaset.apps/fission-all-0.11.0-prometheus-pushgateway-f4d44c8fb          1         0         0         10h
replicaset.apps/fission-all-0.11.0-prometheus-server-549d88b755              1         0         0         10h
replicaset.apps/kubewatcher-97d7d899d                                        1         1         1         10h
replicaset.apps/mqtrigger-nats-streaming-5c69864b6c                          1         1         0         10h
replicaset.apps/nats-streaming-7686cd7ff4                                    1         1         0         10h
replicaset.apps/nginx-6d9cc98df6                                             1         1         1         11h
replicaset.apps/router-5d7fcb6bd6                                            1         1         1         10h
replicaset.apps/storagesvc-7c9bfb85c5                                        1         1         1         10h
replicaset.apps/timer-84c4946d                                               1         1         1         10h

NAME                     DESIRED   CURRENT   AGE
statefulset.apps/redis   1         1         10h

NAME                                            DESIRED   SUCCESSFUL   AGE
job.batch/fission-all-0.11.0-fissi-0.11.0       1         1            10h
job.batch/fission-all-0.11.0-fissi-0.11.0-383   1         1            10h
job.batch/fission-all-0.11.0-fissi-0.11.0-488   1         1            10h
chienhu

立碼決定 懶得用了..


上一篇
今天2018.10.23 google assistant 可以用中文了
下一篇
k8s 之今天斷掉嗎
系列文
kubernetes學習日誌14
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言